package ModelLayer;
import java.util.ArrayList;

/**
 * Write a description of class Person here.
 * 
 * @author (your name) 
 * @version (a version number or a date)
 */
public class Person
{
    private long id;
    private String name,address,postalCode, city, phone;

    /**
     * Constructor for objects of class Person
     */
    public Person(long id, String name, String address, String postalCode, String city, String phone)
    {
        this.id=id;
        this.name=name;
        this.address=address;
        this.postalCode=postalCode;
        this.city=city;
        this.phone=phone;
    }

    // SET & GET methods
    public long getId()  {  return id; }    
    public String getName() {  return this.name;  }
    public String getAddress() {  return this.address;  }
    public String getPostalCode() {  return this.postalCode;  }
    public String getCity() {  return this.city;  }
    public String getPhone() {  return this.phone;  }
    
    public void setName(String same) {this.name = same;}
    public void setAddress(String same) {this.address = same;}
    public void setPostalCode(String same) {this.postalCode = same;}
    public void setCity(String same) {this.city = same;}
    public void setPhone(String same) {this.phone = same;}    
}
